package com.bdqn.t330.ch03.mapper;

import com.bdqn.t330.ch03.entity.User;
import org.apache.ibatis.annotations.Delete;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Repository;


public interface UserMapper {

    public User get(Long id);

    @Delete("DELETE FROM sys_user WHERE usr_id =#{id}")
    public void delete(Long id);

}
